QuickOPC User's Guide and Reference
EasyDAItemSubscriptionArguments<T> Constructor(DAItemGroupArguments,EasyDAItemChangedEventHandler<T>)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.Generic Namespace > EasyDAItemSubscriptionArguments<T> Class > EasyDAItemSubscriptionArguments<T> Constructor : EasyDAItemSubscriptionArguments<T> Constructor(DAItemGroupArguments,EasyDAItemChangedEventHandler<T>)
The item group arguments object to be copied from.
A typed callback method to be invoked for each significant item change.
Initializes a new instance of the class. Initializes a new OpcLabs.EasyOpc.DataAccess.OperationModel.EasyDAItemSubscriptionArguments object from OpcLabs.EasyOpc.DataAccess.OperationModel.DAItemGroupArguments, and with specified typed callback method.
Syntax
'Declaration
 
Public Function New( _
   ByVal args As DAItemGroupArguments, _
   ByVal callback As OpcLabs.EasyOpc.DataAccess.Generic.EasyDAItemChangedEventHandler(Of T) _
)
'Usage
 
Dim args As DAItemGroupArguments
Dim callback As OpcLabs.EasyOpc.DataAccess.Generic.EasyDAItemChangedEventHandler(Of T)
 
Dim instance As New EasyDAItemSubscriptionArguments(Of T)(args, callback)
public EasyDAItemSubscriptionArguments<T>( 
   DAItemGroupArguments args,
   OpcLabs.EasyOpc.DataAccess.Generic.EasyDAItemChangedEventHandler<T> callback
)
public:
EasyDAItemSubscriptionArguments<T>( 
   DAItemGroupArguments^ args,
   OpcLabs.EasyOpc.DataAccess.Generic.EasyDAItemChangedEventHandler<T^>^ callback
)

Parameters

args
The item group arguments object to be copied from.
callback
A typed callback method to be invoked for each significant item change.
Remarks
If callback is a null reference, only the ItemChanged events are generated, but no callback method is invoked.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

EasyDAItemSubscriptionArguments<T> Class
EasyDAItemSubscriptionArguments<T> Members
Overload List